<template>
	<view class="sign">
		<text>{{store.state.psdSign}}</text>
		<view class="mailbox" @click="Toggle"><van-icon name="exchange"/>{{store.state.sign.number==='邮箱注册'?'手机注册': '邮箱注册'}}</view>
	</view>
</template>

<script lang="ts" setup>
	
	import {useStore} from 'vuex'
	const store = useStore()
	const  Toggle =  ()=>{
		store.commit('GATDATA')
		uni.navigateTo({
			url:'/SignSubcontract/SignIn/index'
		})
	}
</script>

<style lang="scss" scoped>
	.sign {
		padding-top: 280px;
		display: flex;
		justify-content: space-between;
		align-items: center;

		text {
			font-size: 60px;
			color: white;
			margin-left: 40px;
		}

		.mailbox {
			width: 176px;
			height: 64px;
			border-top-left-radius: 32px;
			border-bottom-left-radius: 32px;
			border: 1px solid #00D0B9;
			color: #00D0B9;
			display: flex;
			justify-content: space-around;
			align-items: center;
			font-size: 28px;
		}
	}
	uni-view{
			flex-direction: row!important;
		}
</style>